#ifndef DBGENRE_H
#define DBGENRE_H

#include "../core/dtgenre.h"
#include "../core/collection.h"

#include <QString>
#include <QList>

static const QString dbGenreStr =
        "DbGenre";
static const QString dbGenreCreate =
        "create";
static const QString dbGenreDestroy =
        "destroy";
static const QString dbGenreUpdate =
        "update";

class DbGenre
{
public:
    DbGenre();
    static bool create(QList<DtGenre *> &listGenre);
    static bool destroy(const QList<DtGenre *> & listGenre);
    static bool update(const QList<DtGenre *> & listGenre);
    static bool getAll(Collection & collection);
    static bool setHeart(const DtGenre &genre);
};

#endif // DBGENRE_H
